package com.ycz.zheng_springboot.service;

import com.ycz.zheng_springboot.dto.UserDTO;
import com.ycz.zheng_springboot.dto.UserPasswordDTO;
import com.ycz.zheng_springboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 岳彩郑
 * @since 2022-04-19
 */
public interface IUserService extends IService<User> {

    //登录
    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);


//    Object findPage(Page<Object> objectPage, QueryWrapper<User> queryWrapper);
}
